<%--
  Created by IntelliJ IDEA.
  User: 苗苗
  Date: 2024/5/13
  Time: 9:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>会员列表</title>
    <link href="resource/css/style.css" rel="stylesheet" type="text/css"/>
    <script src="resource/js/jquery-2.1.0.min.js"></script>
    <html>

    <script>
        $(function () {
            $.ajax({
                url:"/getRecord",
                type:"post",
                dataType: "JSON",
                success:function (data) {
                    $.each(data,function (index,attendances) {
                        $("table").append("<tr><td><input name=\"\" type=\"checkbox\" value=\"\" checked=\"checked\"/>" +
                            "</td><td>" + attendances.id + "</td>" +
                            "<td>" + attendances.attendancedate + "</td>" +
                            "<td>" + attendances.checkOnTime + "</td>" +
                            "<td>" + attendances.checkOnStatus + "</td>" +
                            "<td>" + attendances.checkOffTime + "</td>" +
                            "<td>" + attendances.checkOffStatus + "</td>" +
                            "</tr>")
                    })
                }
            })
        })
    </script>

    <head>
        <title>考勤情况</title>
    </head>
<body>


<div class="rightinfo">
    <table class="tablelist">
        <tr>
            <td><input name="" type="checkbox" value="" checked="checked"/></td>
            <td>编号</td>
            <td>日期</td>
            <td>上班打卡时间</td>
            <td>上班打卡状态</td>
            <td>下班打卡时间</td>
            <td>下班打卡状态</td>
        </tr>
    </table>
</div>
</body>
</html>

